package com.huateng.vo;

import com.google.common.collect.Lists;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by joy on 2016/11/4.
 */
public class ResponseVo implements Serializable {
    private long size = 0L;
    private List<Map<String,String>> values = Lists.newArrayList();
    private String endrowkey = null;
    private String startrowkey = null;
    private long pagesize = 0 ;

    public String getStartrowkey() {
        return startrowkey;
    }

    public void setStartrowkey(String startrowkey) {
        this.startrowkey = startrowkey;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public List<Map<String, String>> getValues() {
        return values;
    }

    public void setValues(List<Map<String, String>> values) {
        this.values = values;
    }

    public String getEndrowkey() {
        return endrowkey;
    }

    public void setEndrowkey(String endrowkey) {
        this.endrowkey = endrowkey;
    }

    public long getPagesize() {
        return pagesize;
    }

    public void setPagesize(long pagesize) {
        this.pagesize = pagesize;
    }

    public ResponseVo(){}

    public ResponseVo(long size, List<Map<String, String>> values, String endrowkey, String startrowkey, long pagesize) {
        this.size = size;
        this.values = values;
        this.endrowkey = endrowkey;
        this.startrowkey = startrowkey;
        this.pagesize = pagesize;
    }
}
